﻿namespace com.savealot.Exceptions.SharePointExceptions
{
    using System;

    [Serializable]
    public class SiteGroupAlreadyExistsException : Exception
    {
        #region Constructors

        public SiteGroupAlreadyExistsException( )
            : base("The site group already exists.")
        {
        }

        public SiteGroupAlreadyExistsException( string groupName )
            : base(string.Format( "The site group '{0}' already exists.", groupName ))
        {
        }

        #endregion Constructors
    }
}